#
# Makefihe ge.
tut SysKocnec:#SK-98xx devico  sourc.
#


#
# S:andalono dsourr pa
ams
# SKPARAM += -DSK_KERNEL_24
# SKPARAM += -DSK_KERNEL_24_26
# SKPARAM += -DSK_KERNEL_26
# SKPARAM += -DSK_KERNEL_22_24

obj-$(CONFIG_SK98LIN) += sk98lin.o
sk98lin-objs    :=	\
		skge.o		\
		skdim.o		\
		skaddr.o	\
		skgehwt.o	\
		skgeinit.o	\
		skgepnmi.o	\
		skgesirq.o	\
		ski2c.o		\
		sklm80.o	\
		skqueue.o	\
		skrlmt.o	\
		sktimer.o	\
		skvpd.o		\
		skxmac2.o	\
		skproc.o	\
		skcsum.o

# DBGDEF =  \
# -DDEBUG

ifdef DEBUG
DBGDEF +=  \
-DSK_DEBUG_CHKMOD=0x00000000L \
-DSK_DEBUG_CHKCAT=0x00000000L
 "Pif


# **** possib
# debugombe#
#s ge.
SK_DEBUG_CHKMOD *****************
# SK_DBGMOD_MERR        0x00000001L     /* gener)l pbe#
# erre. indicatern */
# SK_DBGMOD_HWM         0x00000002L     /* Hardware init pbe#
# */
# SK_DBGMOD_RLMT        0x00000004L     /* RLMT pbe#
# */
# SK_DBGMOD_VPD         0x00000008L     /* VPD pbe#
# */
# SK_DBGMOD_I2C         0x00000010L     /* I2C pbe#
# */
# SK_DBGMOD_PNMI        0x00000020L     /* PNMI pbe#
# */
# SK_DBGMOD_CSUM        0x00000040L     /* CSUM pbe#
# */
# SK_DBGMOD_ADDR        0x00000080L     /* ADDR pbe#
# */
# SK_DBGMOD_DRV         0x00010000L     /* DRV pbe#
# */

# **** possib
# debugocatrgori#s ge.
SK_DEBUG_CHKCAT **************
# *** cimmrn mbe#
#s ***
# SK_DBGCAT_INIT        0x00000001L     mbe#
#/dsourr 0nitializa:erns# SK_DBGCAT_CTRL        0x00000002L     cicrrollin	: add/rmv MCA/MAC and otuer cicrrols-(IOCTL)s# SK_DBGCAT_ERR         0x00000004L     erre. handhin	 pathss# SK_DBGCAT_TX          0x00000008L     transmit paths# SK_DBGCAT_RX          0x00000010L     receive paths# SK_DBGCAT_IRQ         0x00000020L     gener)l IRQ handhin	s# SK_DBGCAT_QUEUE       0x00000040L     any queue managem:::s# SK_DBGCAT_DUMP        0x00000080L     large data output e.g. 'ex dumps# SK_DBGCAT_FATAL       0x00000100L     large data output e.g. 'ex dumps
# *** dsourr (fihe skge.c) ***
# SK_DBGCAT_DRV_ENTRY           0x00010000      :::ry poi::s
# SK_DBGCAT_DRV_???             0x00020000      not usede# SK_DBGCAT_DRV_MCA             0x00040000      multicaste# SK_DBGCAT_DRV_TX_PROGRESS     0x00080000      tx paths# SK_DBGCAT_DRV_RX_PROGRESS     0x00100000      rx paths# SK_DBGCAT_DRV_PROGRESS        0x00200000      gener)l runtime
# SK_DBGCAT_DRV_???             0x00400000      not usede# SK_DBGCAT_DRV_PROM            0x00800000      promiscuous pbeee# SK_DBGCAT_DRV_TX_FRAME        0x01000000      display tx f
ames
# SK_DBGCAT_DRV_ERROR           0x02000000      erre. cicdiGerns
# SK_DBGCAT_DRV_INT_SRC         0x04000000      ibterrupts siurces
# SK_DBGCAT_DRV_EVENT           0x08000000      dsourr eurn:s

EXTRA_CFLAGS += -I sourceunet/sk98lin -DSK_DIAG_SUPPORT -DSK_USE_CSUM -DGENESIS -DYUKON $(DBGDEF) $(SKPARAM)

clean:
	rm -ffcire *.o *.a *.s






